home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Big Mouth 20
/
Big_Mouth_The_20_1998_-_Side_A.d64
/
uni load.src
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
39 lines
10 * = $0334
20 lda #<uni(NULL)
30 sta $0330
40 lda #>uni(NULL)
50 sta $0331
60 rts
70 uni(NULL) ;universal load
80 lda #$37
90 sta $01
100 lda #$08
110 tax
120 ldy #$00
130 jsr $ffba
140 jsr $ffc0
150 ldx #$08
160 jsr $ffc6
170 jsr $ffcf
180 sta $ae
190 jsr $ffcf
200 sta $af
210 getbyte jsr $ffcf
220 sei
230 inc $01
240 ldy #$00
250 sta ($ae),y
260 inc $ae
270 bne notzero
280 inc $af
290 notzero dec $01
300 lda $90
310 beq getbyte
320 lda #$08
330 jsr $ffc3
340 rts
350 ;
360 ;
370 ;change start address to what
380 ;is needed. best if *=$0334 ;